package com.santu.edu.supporter.biz.category.pojo.params;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author luoyaoqi
 * @createTime 2024/3/12
 * @description
 */
@Data
@Accessors(chain = true)
public class GoodCategoryAddParam {

    /**
     * 类别名称
     */
    @NotBlank(message = "categoryName不能为空")
    private String categoryName;

    /**
     * 顺序
     */
    @NotNull(message = "sort不能为空")
    private Integer sort;
}
